/* 统一风格 - 用户订单页 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

h1 {
    color: #212529;
    margin-bottom: 20px;
    font-weight: 600;
}

.filter {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    background-color: white;
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.filter-btn {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    border: 1px solid #dee2e6;
    background-color: white;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.2s;
}

.filter-btn.active {
    background-color: #0d6efd;
    color: white;
    border-color: #0d6efd;
}

.order-list {
    background-color: white;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.order-card {
    border: 1px solid #dee2e6;
    border-radius: 5px;
    padding: 15px;
    margin-bottom: 15px;
}

.order-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #dee2e6;
    flex-wrap: wrap;
    gap: 10px;
}

.order-header span {
    font-size: 0.875rem;
}

.order-items {
    margin-top: 10px;
}

.order-item {
    display: flex;
    margin-bottom: 15px;
    align-items: center;
}

.order-item img {
    width: 60px;
    height: 60px;
    margin-right: 15px;
    object-fit: cover;
    border-radius: 4px;
}

.order-footer {
    display: flex;
    justify-content: flex-end;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #dee2e6;
}

.btn {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    border-radius: 4px;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
}

.btn-primary {
    background-color: #0d6efd;
    color: white;
}

.btn-success {
    background-color: #198754;
    color: white;
}

.order-detail {
    background-color: white;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.order-detail p {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f1f1f1;
}

.order-detail table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

.order-detail th,
.order-detail td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #dee2e6;
}

.order-detail th {
    font-weight: 600;
    background-color: #f8f9fa;
}

.order-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 20px;
}

.no-orders {
    text-align: center;
    padding: 40px 0;
    color: #6c757d;
}

.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.empty-state p {
    font-size: 1rem;
    margin: 0;
}

@media (max-width: 768px) {
    .filter {
        flex-wrap: wrap;
    }

    .filter-btn {
        flex: 1;
        min-width: 100px;
    }

    .order-header span {
        flex: 1 0 100%;
    }
}